<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>心跳包管理管理 </title>
<@fm.header />
<link rel="stylesheet" type="text/css" href="/resources/css/uploadify/uploadify.css">
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/heartbeatApkConfig/heartbeatApkConfig.js"></script>
</head>
<body class="cmp-list-body">
<div id="tb" style="padding:3px">
    <span>版本号</span>
	<input id="sversionId" class="easyui-textbox" style="width: 155px;"/>
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doEdit();">修改</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doDel();">删除</a>
</div>
<table id="tt" title="心跳包管理管理 " 
	 toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="true"   pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
            <th align="center" width="10%" field="version">版本号</th>
		    <th align="center" width="30%" field="remark">备注</th>
		    <th align="center" width="10%" field="filepath">文件地址</th>
            <th align="center" width="10%" field="bucketName">bucketName</th>
		    <th align="center" width="10%" field="modifyTime">修改时间</th>
		    
        </tr>
    </thead>   
</table>

<div id="addWin" class="easyui-window" title="心跳包管理管理|新增修改" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:500px;height:450px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
        <form id="addForm"  method="post" enctype="multipart/form-data">
            <input type="hidden" id="idId"  name="id" />   
            <table>
                <tr>
		            <td align="left">心跳包上传</td>
		            <td colspan=3><input type="file"  name="heartfile" id="heartfileId" style="width:300px" />
		            </td>
	            </tr>
		        <tr>
		             <td align="left">版本号</td>
		             <td><input id="versionId" class="easyui-validatebox" data-options="required:true"  name="version" style="width:300px"></input></td>
		        </tr>	
		        <tr>
		            <td align="left"><label for="bz">备注:</label></td>
		            <td><textarea class="easyui-validatebox" id="remarkId" name="remark" style="width:300px;height:80px;" data-options="validType:'length[0,500]'" ></textarea></td>
		        </tr>
           </table>
        </form>
        <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">上传</a> 
        </div>
    </div>
</div>

</body>
</html>